package com.zcf.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

public class Game_club extends Model<Game_club>{
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	@TableField("clubName")
	private String clubName;//俱乐部名称
	@TableField("personnum")
	private Integer personnum;//俱乐部人数
	@TableField("roomCard")
	private Integer roomCard;//俱乐部房卡
	@TableField("createTime")
	private Date createTime;
	@TableField(exist = false)
	private Map<String, RoomsParam>clubs = new HashMap<>();//存放俱乐部房间
	@TableField("founder")
	private Long founder;//创建者
	@TableField("content")
	private String content;
	
	
//	@TableField("joinfen")
//	private Integer joinfen;//加入积分
//	@TableField("applyfen")
//	private Integer applyfen;//申请上庄积分
//	@TableField("rules")
//	private Integer rules;//规则选项
//	@TableField("modifyfen")
//	private Integer modifyfen;//积分调整
//	@TableField("pumping")
//	private String pumping;//抽水规则
	@TableField(exist = false)
	private String founders;
	@TableField(exist = false)
	private String personnums;
	
	
	
	
	
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getPersonnums() {
		return personnums;
	}
	public void setPersonnums(String personnums) {
		this.personnums = personnums;
	}
	public String getFounders() {
		return founders;
	}
	public void setFounders(String founders) {
		this.founders = founders;
	}
	public Long getFounder() {
		return founder;
	}
	public void setFounder(Long founder) {
		this.founder = founder;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public String getClubName() {
		return clubName;
	}
	public void setClubName(String clubName) {
		this.clubName = clubName;
	}
	public Integer getPersonnum() {
		return personnum;
	}
	public void setPersonnum(Integer personnum) {
		this.personnum = personnum;
	}
	public Integer getRoomCard() {
		return roomCard;
	}
	public void setRoomCard(Integer roomCard) {
		this.roomCard = roomCard;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Map<String, RoomsParam> getClubs() {
		return clubs;
	}
	public void setClubs(Map<String, RoomsParam> clubs) {
		this.clubs = clubs;
	}
	@Override
	protected Serializable pkVal() {
		return this.id;
	}




}
